package com.ky.gp.app.service;

import com.ky.common.param.ProblemAdd;
import com.ky.common.vo.R;
import com.ky.gp.app.config.OpenFeignConfig;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.*;

@FeignClient(value = "gp-study-server", configuration = OpenFeignConfig.class)
public interface StaticFeign {


    @RequestMapping("/study/static/articleImg/{articleId}")
    R articleImg(@PathVariable("articleId") int articleId);

    @RequestMapping("/study/static/addProblemImg")
    R addProblemImg(@RequestBody ProblemAdd problemAdd);
}
